package com.neusoft.dao;

import java.util.List;

public interface CommonDao<T> {
	public List<Object> query(String sql);
	public boolean save(T entity);
	public boolean update(T entity);
	public boolean updateOrDelete(String sql);
	public boolean update_3(String hql,List<Object> list);
	public boolean delete(String hql,String id);
	public boolean delete_3(T entity);
}
